home *** CD-ROM | disk | FTP | other *** search
-
- change log:
- 2004-04-03 initial adaptation to declude - seems to work
- 2004-04-07 public
- 2004-04-08 not working - rewrite
- 1.3.8.0 - working now
-
- 2004-04-09 1.4.1.0
- added message file name to log
- added message size to log
- 1.4.2.0
- made certain to delete any old report.txt
-
- 2004-09-29 1.4.3.0
- revised to pass all parms on cfg line to the clam(d)scan exe
- Note that the cfg line must end with -l report.txt
- (thanks to Brad Morgan for input and testing)
-
-
- This program is just a wrapper calling clamscan or clamdscan to return the correct
- virus name to declude.
-
- Place the program in your declude directory or any convenient place.
- Edit declude virus.cfg file to use it:
-
- SCANFILE3 C:\imail\declude\runclamscan.exe log=1 C:\clamav-devel\bin\clamdscan.exe --quiet --mbox -l report.txt
- VIRUSCODE3 1
- REPORT3 FOUND
-
- where everything past log=2 is the line from the declude file.
-
- Use clamscan.exe if you do not want it to attempt clamdscan.exe
- If you use clamdscan it will still check to see if clamdscan is
- running (at least for now - may change this later).
- log=0 (no logging)
- log=1 (minimal logging only date, time, elapsed times, viruses)
- log=2 (log all messages same as 1)
- log=3 (debug log - whole bunch of stuff - multiple lines)
- anything else is no logging
-
- Example log lines for 1 and 2:
- 04-08-2004 15:56:20 0.1000,0.020,0.070 0
- 04-08-2004 16:48:22 0.0900,0.020,0.070 Worm.SomeFool.P 87 dc89b170e004cd247.smd 5222
-
- (date & time) (elapsed times) (virus name if any) (bytes of report.txt) imail_smd_file byte_size
-
- Elapsed times:
- 1st is total elapsed time
- 2nd is elapsed time to check if clamd is running
- 3rd is elapsed time to scan
-
- About the only thing this really does is fix it so declude can get the
- name of the virus.
-
-